package com.xjscrm.console.param.operatePlan;

import com.xjscrm.common.vo.tasktagauto.EventRule;
import com.xjscrm.common.vo.tasktagauto.ParaRule;
import com.xjscrm.console.param.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("自动打标签方案参数")
public class TaskTagAutoDto extends BaseDto {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;


    @ApiModelProperty("条件类型(1-条件触发;2-事件触发)")
    private Integer paraType;


    @ApiModelProperty("条件规则JSON")
    private ParaRule paraRule;

    @ApiModelProperty("事件规则")
    private EventRule eventRule;


    @ApiModelProperty("标签类型(1-企微标签；2-个人标签)")
    private Integer tagType;


    @ApiModelProperty("企业标签类型（0-全部机器人;1-部分机器人）")
    private Integer enterpriseType;


    @ApiModelProperty("企微标签列表")
    private List<Long> enterpriseTags;


    @ApiModelProperty("个人标签和机器人对象")
    private List<DeviceTagsRel> deviceTagsRelList;




}
